package com.fmcoder.study.ch1.javaconfig;

import com.fmcoder.study.ch1.di.FunctionService;

// 此处无@Server注解
public class UseFunctionService {

	// 此处无@Autowired注解
	FunctionService functionService;

	public void setFunctionService(FunctionService functionService) {
		this.functionService = functionService;
	}
	
	public String sayHello(String word) {
		return functionService.sayHello(word);
	}
	
}
